package java8_24.oop.Test_6;

public class Cat extends Pet {
    public Cat(String name, double weight, String varieties) {
        super(name, weight, varieties);
    }
    public void climbTree(){
        System.out.println(getName()+"会爬树");
    }
}
